<?php 
class ContactForm extends sfForm
{
  public function configure()
  {
    /*$this->setWidgets(array(
      'name'    => new sfWidgetFormInput(),
      'email'   => new sfWidgetFormInput(),
      'message' => new sfWidgetFormTextarea(),
    ));//*/
    
    $this->setWidgets(array(
      'file'    => new sfWidgetFormInputFile(),
    ));
    
		$this->widgetSchema->setNameFormat('contact[%s]');

 
    $this->setValidators(array(
      'file'    => new sfValidatorFile(),
    ));    
  }
}
?>
